package com.party.core.dao.read.system;

import com.party.core.dao.read.BaseReadDao;
import com.party.core.model.system.SysConfig;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 系统配置数据写入
 * Created by wei.li
 *
 * @date 2017/8/4 0004
 * @time 14:47
 */

@Repository
public interface SysConfigReadDao extends BaseReadDao<SysConfig> {

    /**
     * 根据代码查询
     * @param code 代码
     * @return 系统配置
     */
    SysConfig findByCode(@Param(value = "code") String code);
}
